<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>

<c:set var="contextRootPath" value="${pageContext.request.contextPath}" />
<c:if test="${pageContext.request.contextPath == '/'}">
	<c:set var="contextRootPath" value="" />
</c:if>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>获取memcache值</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="${contextRootPath}/resource/css/crud.css" />
</head>
<body>
<form method="post" action="index.do">
<table class="input_table" align="center" cellspacing="0" cellpadding="0">
	<tr>
		<td class="input_titile_td" width="150">IP地址：</td>
		<td class="input_content_td"><input type="text" name="ipAddress" value="<c:out value='${ipAddress}' />" size="20" /> </td>
	</tr>
	<tr>
		<td class="input_titile_td" width="150">端口号：</td>
		<td class="input_content_td"><input type="text" name="port" value="<c:out value='${port}' />" size="20" /> </td>
	</tr>
	<tr>
		<td class="input_titile_td" width="150">key：</td>
		<td class="input_content_td"><input type="text" name="key" value="<c:out value='${key}' />" size="30" /> </td>
	</tr>
</table>

<table class="input_table" align="center" cellspacing="0" cellpadding="0">
	<tr>
		<td class="input_content_td" align="left">
			<input type="submit" value="获取值" />
		</td>
	</tr>
</table>

<br /><br />
<div class="page_titile">结果：</div>

<table class="input_table" align="center" cellspacing="0" cellpadding="0">
	<tr>
		<td class="input_content_td" align="left">
			<textarea rows="10" cols="80"><c:out value='${val}' /></textarea>
		</td>
	</tr>
</table>

</form>
</body>
</html>
